#ifndef SVGWINDOW_H
#define SVGWINDOW_H

#include"svgwidget.h"
#include<QScrollArea>
class SvgWindow : public QScrollArea
{
public:
    SvgWindow(QWidget* parent=0);
    void setFile(QString);
    void mousePressEvent(QMouseEvent*);
    void mouseMoveEvent(QMouseEvent*);
private:
    SvgWidget* svgWidget;
    QPoint mousePressPos;
    QPoint scrollBarValuesOnMousePress;

};

#endif // SVGWINDOW_H
